<?php
global $_RQ,$_AR;
$merchid=$_SESSION['merchid'];
if(!$merchid){
	$merchid=intval($_RQ['merchid']);
	if($merchid){
		$_SESSION['merchid']=$merchid;
	}
}
if($merchid){
	$return['pluginset']=$this->plugin_setting('merch'.$merchid);
	$sharelink='jy_mfuwu/app.index//fromuser='.$_SESSION['uid'].'&merchid='.$_SESSION['merchid'];
	$return['sharedata']=array(
			'title'=>$return['pluginset']['share_title']?$return['pluginset']['share_title']:'首页-在线服务',
			'desc'=>$return['pluginset']['share_desc']?$return['pluginset']['share_desc']:'在线服务，一个属于商户自己的在线服务！',
			'link'=>custom_url($sharelink,true),
			'imgUrl'=>ATTACHMENT_URL.$return['pluginset']['share_image']
	);
}
?>